package com.ssy.lingxi.member.merchant.api.feign.inner;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.member.merchant.api.model.vo.inner.request.MemberOrderCommentVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.validation.Valid;

/**
 * 会员评价内部feign接口
 * @author yzc
 * @version 2.0.0
 * @date 2021/1/6
 */
@FeignClient(name = "merchant-member-service")
public interface MemberOrderCommentControllerFeign {

    /**
     * 保存订单数据
     * @param memberOrderCommentVO 接口参数
     * @return 返回结果
     */
    @RequestMapping(value = "/member/feign/orderComment/save", method = RequestMethod.POST)
    Wrapper<Void> saveMemberOrderComment(@RequestBody @Valid MemberOrderCommentVO memberOrderCommentVO);

}
